<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('查看订单')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-order-edit" th:object="${sysWithdraw}">
        <input name="withdrawId" th:field="*{withdrawId}" type="hidden">
        <div class="form-group">
            <label class="col-sm-3 control-label">下游代付单号：</label>
            <div class="col-sm-8">
                <input name="withdrawChildCode" th:field="*{withdrawChildCode}" class="form-control" type="text" disabled="disabled" style="width: 250px">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">成功时间：</label>
            <div class="col-sm-8">
                    <input name="successTime" th:value="${#dates.format(sysWithdraw.successTime, 'yyyy-MM-dd HH:mm:ss')}" class="form-control" type="text" disabled="disabled" style="width: 250px">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">服务器通知地址(回调地址)：</label>
            <div class="col-sm-8">
                <input name="notifyUrl" th:field="*{notifyUrl}" class="form-control" type="text" disabled="disabled" style="width: 350px">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">最后一次通知时间：</label>
            <div class="col-sm-8">
                <input name="lastNotifyTime" th:value="${#dates.format(sysWithdraw.lastNotifyTime, 'yyyy-MM-dd HH:mm:ss')}" class="form-control" type="text" disabled="disabled" style="width: 250px">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">最后一次通知内容：</label>
            <div class="col-sm-8">
                <textarea name="remark" maxlength="1000" class="form-control" rows="3" readonly="readonly">[[*{lastNotifyContent}]]</textarea>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
    // var prefix = ctx + "system/order";
    $("#form-order-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        var index = parent.layer.getFrameIndex(window.name);
        $.modal.close(index);
    }

    $("input[name='successTime']").datetimepicker({
        format: "yyyy-mm-dd HH:mm:ss",
        minView: "month",
        autoclose: true
    });

    $("input[name='lastNotifyTime']").datetimepicker({
        format: "yyyy-mm-dd HH:mm:ss",
        minView: "month",
        autoclose: true
    });


</script>
</body>
</html>